home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / v10n11.arc / CHKPATH.DOC < prev    next >
Text File  |  1991-05-10  |  2KB  |  40 lines

  1. CHKPATH.EXE
  2.  
  3.  
  4. John Deurbrouck                                      June 11, 1991 (Utilities)
  5.  
  6.  
  7. Purpose:   Displays either all or same-named .COM, .EXE, and .BAT files on
  8. the user's path or in specified drive(s) or directories, showing which program
  9. will actually be executed; also warns of common problems in PATH syntax and
  10. usage.
  11.  
  12. Format:  CHKPATH [/a] [/d=drive(s)] [/s=dir1 ... dirn]
  13.      [/e=var] [/n] [/p]
  14.  
  15. Remarks:     Entered without any of the optional / switches, CHKPATH presents
  16. a syntax help screen. The /a switch causes display of all rather than
  17. conflicting-name programs. The /n eliminates file size, date, and time
  18. information from the list. The /p/ switch pauses at each screenful.
  19.  
  20.      Using the /d= switch causes a search of all directories in the drive(s)
  21. named. No spaces between the drive letter colon and the next drive are
  22. allowed in this case, but sequential drives may be specified with a dash, as
  23. in /d=C:-F:H:. The /s= switch restricts the search to the directories
  24. specified, as in /s=C:\DOS D:\UTIL.
  25.  
  26.      Most frequently, CHKPATH will be used with the /e= switch, with PATH as
  27. the specified var. By specifying /e=var more than once on the same CHKPATH
  28. run, however, conflicts among different directory-specifying environment
  29. variables may be checked at once. Environment variables should be formated as
  30. in the DOS PATH statement.
  31.  
  32.      CHKPATH will also alert the existence of empty, repeated, or relatively-
  33. specified (backslash omitted) directories on the DOS path. More than one
  34. specifying switch can be used at once to make multiple-selection comparisons.
  35. When both specified and non-specified directories are shown in the listing the
  36. latter will be prefixed by a minus sign.
  37.  
  38.      All CHKPATH output can be redirected to a printer or a file. Both the
  39. executable file and the C source code can be downloaded from PC MagNet.
  40.